package com.ruoyi.food.object;
/**
 * 附件
 * @author mengcc
 *
 */

import java.sql.Timestamp;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

@TableName("t_attach")
public class TAttach {
	
	@TableId(value = "ATT_ID")
	private long attId;
	
	/**附件名称**/
	private String attName;
	
	/**关联表名**/
	private String  attFkName;
	
	/**关联表id**/
	private long attFkId;
	
	/**附件域名**/
	private String attDomain;
	
	/**附件地址**/
	private String attWebUrl;
	
	/**图片压缩地址**/
	private String attScaleUrl; 
	
	/**本机地址**/
	private String attUrl;
	
	/**上传时间**/
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Timestamp attTime;
	
	/**上传人**/
	private long attUser;
	
	/**查看次数**/
	private int attCount;
	
	/**是否有效**/
	private int attValid;

	public long getAttId() {
		return attId;
	}

	public void setAttId(long attId) {
		this.attId = attId;
	}

	public String getAttName() {
		return attName;
	}

	public void setAttName(String attName) {
		this.attName = attName;
	}

	public String getAttFkName() {
		return attFkName;
	}

	public void setAttFkName(String attFkName) {
		this.attFkName = attFkName;
	}

	public long getAttFkId() {
		return attFkId;
	}

	public void setAttFkId(long attFkId) {
		this.attFkId = attFkId;
	}

	public String getAttWebUrl() {
		return attWebUrl;
	}

	public void setAttWebUrl(String attWebUrl) {
		this.attWebUrl = attWebUrl;
	}

	public String getAttScaleUrl() {
		return attScaleUrl;
	}

	public void setAttScaleUrl(String attScaleUrl) {
		this.attScaleUrl = attScaleUrl;
	}

	public String getAttUrl() {
		return attUrl;
	}

	public void setAttUrl(String attUrl) {
		this.attUrl = attUrl;
	}

	public Timestamp getAttTime() {
		return attTime;
	}

	public void setAttTime(Timestamp attTime) {
		this.attTime = attTime;
	}

	public long getAttUser() {
		return attUser;
	}

	public void setAttUser(long attUser) {
		this.attUser = attUser;
	}

	public int getAttCount() {
		return attCount;
	}

	public void setAttCount(int attCount) {
		this.attCount = attCount;
	}

	public int getAttValid() {
		return attValid;
	}

	public void setAttValid(int attValid) {
		this.attValid = attValid;
	}

	public String getAttDomain() {
		return attDomain;
	}

	public void setAttDomain(String attDomain) {
		this.attDomain = attDomain;
	}

}
